<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.7.0" />

	<title>Class Mekayotl | nort</title>

	<script type="text/javascript" src="resources/combined.js?1481722677"></script>
	<script type="text/javascript" src="elementlist.js?1094816827"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1567499433" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-App.html">App<span></span></a>
						<ul>
				<li><a href="package-App.Saas.html">Saas</a>
						</li>
				<li><a href="package-App.saas.html">saas</a>
						</li>
				<li><a href="package-App.SaaS.html">SaaS<span></span></a>
						<ul>
				<li><a href="package-App.saas.Logic.html">Logic</a>
						</li>
				<li><a href="package-App.SaaS.SaaS.html">SaaS</a>
						</li>
				<li><a href="package-App.Saas.Tables.html">Tables</a>
						</li>
				<li><a href="package-App.Saas.Vo.html">Vo</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-aqua.html">aqua<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.Monitor.html">Monitor</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-flashservices.html">flashservices<span></span></a>
						<ul>
				<li><a href="package-flashservices.adapters.html">adapters</a>
						</li>
				<li><a href="package-flashservices.debug.html">debug</a>
						</li>
				<li><a href="package-flashservices.exception.html">exception</a>
						</li>
				<li><a href="package-flashservices.filters.html">filters</a>
						</li>
				<li><a href="package-flashservices.io.html">io</a>
						</li>
				<li><a href="package-flashservices.sql.html">sql</a>
						</li>
				<li><a href="package-flashservices.util.html">util</a>
						</li>
							</ul></li>
				<li class="active"><a href="package-Mekayotl.html">Mekayotl<span></span></a>
						<ul>
				<li class="active"><a href="package-Mekayotl.core.html">core</a>
						</li>
				<li><a href="package-Mekayotl.database.html">database<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.database.dal.html">dal</a>
						</li>
				<li><a href="package-Mekayotl.database.mysql.html">mysql</a>
						</li>
				<li><a href="package-Mekayotl.database.sqlite.html">sqlite</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html">render<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html.html">html</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.renders.html">renders</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PHPMailer.html">PHPMailer</a>
						</li>
				<li><a href="package-Services.html">Services<span></span></a>
						<ul>
				<li><a href="package-Services.JSON.html">JSON</a>
						</li>
							</ul></li>
				<li><a href="package-Swift.html">Swift<span></span></a>
						<ul>
				<li><a href="package-Swift.ByteStream.html">ByteStream</a>
						</li>
				<li><a href="package-Swift.CharacterStream.html">CharacterStream</a>
						</li>
				<li><a href="package-Swift.Encoder.html">Encoder</a>
						</li>
				<li><a href="package-Swift.Events.html">Events</a>
						</li>
				<li><a href="package-Swift.KeyCache.html">KeyCache</a>
						</li>
				<li><a href="package-Swift.Mailer.html">Mailer</a>
						</li>
				<li><a href="package-Swift.Mime.html">Mime</a>
						</li>
				<li><a href="package-Swift.Plugins.html">Plugins</a>
						</li>
				<li><a href="package-Swift.Transport.html">Transport</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-Mekayotl.html">Mekayotl</a></li>
				<li><a href="class-Mekayotl_ApplicationAbstract.html">Mekayotl_ApplicationAbstract</a></li>
				<li><a href="class-Mekayotl_Debug.html">Mekayotl_Debug</a></li>
			</ul>





			<h3>Functions</h3>
			<ul>
				<li><a href="function-__autoload.html">__autoload</a></li>
				<li><a href="function-parse_ini_string.html">parse_ini_string</a></li>
				<li><a href="function-str_getcsv.html">str_getcsv</a></li>
			</ul>
		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-Mekayotl.core.html" title="Summary of Mekayotl\core"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Mekayotl</h1>


	<div class="description">
	
<p>La clase principal</p>

<p>Esta clase realiza procesos internos y es el concentrador de funciones
globales del framework.</p>

	</div>









	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-Mekayotl.html">Mekayotl</a>\<a href="package-Mekayotl.core.html">core</a><br />

				<b>Copyright:</b>
				Copyright (c) 2008, <a href="http://www.aquainteractive.com">Aqua
Interactive</a><br />
				<b>Author:</b>
				$Author$<br />
		<b>Located at</b> <a href="source-class-Mekayotl.html#16" title="Go to source code">lib/php/mekayotl/Mekayotl.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="iso8601ToTime" id="_iso8601ToTime">

		<td class="attributes"><code>
			 public static
			time
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_iso8601ToTime">#</a>
		<code><a href="source-class-Mekayotl.html#37" title="Go to source code">iso8601ToTime</a>( <span>string <var>$data</var></span>, <span>integer <var>$days</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			
<p>Transforma un texto de tiempo de MySQL (ISO 8601) a un tipo tiempo de PHP</p>

		</div>

		<div class="description detailed hidden">
			
<p>Transforma un texto de tiempo de MySQL (ISO 8601) a un tipo tiempo de PHP</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$data</var></dt>
					<dd><code>string</code><br> Texto en formato ISP 8601</dd>
					<dt><var>$days</var></dt>
					<dd><code>integer</code><br> D?as a ser agregados</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>time</code><br>Regresa el valor de tiempo del string<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="timeToText" id="_timeToText">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_timeToText">#</a>
		<code><a href="source-class-Mekayotl.html#61" title="Go to source code">timeToText</a>( <span>time <var>$time</var></span>, <span>string <var>$display</var> = <span class="php-quote">'d/m/Y'</span></span> )</code>

		<div class="description short">
			
<p>Transforma un valor tiempo a un texto</p>

		</div>

		<div class="description detailed hidden">
			
<p>Transforma un valor tiempo a un texto</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$time</var></dt>
					<dd><code>time</code><br> Tiempo a ser transformado</dd>
					<dt><var>$display</var></dt>
					<dd><code>string</code><br> Indica el formato de representaci�nde la fecha</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getFriendly" id="_getFriendly">

		<td class="attributes"><code>
			 public static
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getFriendly">#</a>
		<code><a href="source-class-Mekayotl.html#73" title="Go to source code">getFriendly</a>( <span>string <var>$str</var> = <span class="php-quote">''</span></span>, <span> <var>$underScore</var> = <span class="php-keyword1">TRUE</span></span> )</code>

		<div class="description short">
			
<p>Transforma un texto a un URL amigable eliminando caracteres especiales y
cambiando caracteres acentuados a vocales</p>

		</div>

		<div class="description detailed hidden">
			
<p>Transforma un texto a un URL amigable eliminando caracteres especiales y
cambiando caracteres acentuados a vocales</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$str</var></dt>
					<dd><code>string</code><br> String a transformar</dd>
					<dt><var>$underScore</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>El texto transformado<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="callExternal" id="_callExternal">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_callExternal">#</a>
		<code><a href="source-class-Mekayotl.html#93" title="Go to source code">callExternal</a>( <span>string <var>$file</var></span> )</code>

		<div class="description short">
			
<p>Carga archivos de la librer?a externa.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Carga archivos de la librer?a externa.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$file</var></dt>
					<dd><code>string</code><br> Path al archivo sin extension.</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br>Si el archivo fue cargado<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="generatePath" id="_generatePath">

		<td class="attributes"><code>
			 public static
			boolean
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_generatePath">#</a>
		<code><a href="source-class-Mekayotl.html#110" title="Go to source code">generatePath</a>( <span>string <var>$path</var></span>, <span>boolean <var>$chmod</var> = <span class="php-num">0775</span></span> )</code>

		<div class="description short">
			
<p>Comprueba la existencia de un path y si no lo crea</p>

		</div>

		<div class="description detailed hidden">
			
<p>Comprueba la existencia de un path y si no lo crea</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$path</var></dt>
					<dd><code>string</code><br> El path es completo, sin nombre de archivo y debe empezar con /</dd>
					<dt><var>$chmod</var></dt>
					<dd><code>boolean</code><br>$haveFilename Si el path contiene nombre de archivo.</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>boolean</code><br>Si el path existe<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="run" id="_run">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_run">#</a>
		<code><a href="source-class-Mekayotl.html#143" title="Go to source code">run</a>( <span>array <var>&amp; $config</var></span> )</code>

		<div class="description short">
			
<p>Ejecuta una configuraci?n</p>

		</div>

		<div class="description detailed hidden">
			
<p>Ejecuta una configuraci?n</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$config</var></dt>
					<dd><code>array</code><br> Un array asociativo con la configuraci�nde toda la aplicaci�n.</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="runConfig" id="_runConfig">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_runConfig">#</a>
		<code><a href="source-class-Mekayotl.html#158" title="Go to source code">runConfig</a>( )</code>

		<div class="description short">
			
<p>Ejecuta la configuraci�nglobal establecida.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Ejecuta la configuraci�nglobal establecida.</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="adapterFactory" id="_adapterFactory">

		<td class="attributes"><code>
			 public static
			<code><a href="class-Mekayotl_database_SQLAbstract.html">Mekayotl_database_SQLAbstract</a></code>
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_adapterFactory">#</a>
		<code><a href="source-class-Mekayotl.html#167" title="Go to source code">adapterFactory</a>( <span>string|array <var>$config</var></span> )</code>

		<div class="description short">
			
<p>Crea un adaptador a la base de datos.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Crea un adaptador a la base de datos.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$config</var></dt>
					<dd><code>string|array</code><br> Una cadena con el nombre de la secci�n de configuraci�no un URI para la
conexi�n. Arreglo asociativo con la configuraci�nde conexi�n.</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code><code><a href="class-Mekayotl_database_SQLAbstract.html">Mekayotl_database_SQLAbstract</a></code></code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="autoload" id="_autoload">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_autoload">#</a>
		<code><a href="source-class-Mekayotl.html#197" title="Go to source code">autoload</a>( <span>string <var>$className</var></span> )</code>

		<div class="description short">
			
<p>Controla las cargas de clases.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Controla las cargas de clases.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$className</var></dt>
					<dd><code>string</code><br> Nombre de la clase a cargar</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="end" id="_end">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_end">#</a>
		<code><a href="source-class-Mekayotl.html#231" title="Go to source code">end</a>( <span> <var>$string</var> = <span class="php-quote">''</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getAplicationName" id="_getAplicationName">

		<td class="attributes"><code>
			 public static
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getAplicationName">#</a>
		<code><a href="source-class-Mekayotl.html#236" title="Go to source code">getAplicationName</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>




	<table class="summary" id="constants">
	<caption>Constants summary</caption>
	<tr data-order="version" id="version">

		<td class="attributes"><code>
			string
		</code></td>
		<td class="name"><code>
				<a href="source-class-Mekayotl.html#26" title="Go to source code"><b>version</b></a>
		</code></td>
		<td class="value"><code><span class="php-quote">'1.0.$Rev$'</span></code></td>
		<td class="description"><div>
			<a href="#version" class="anchor">#</a>

			<div class="description short">
				
<p>Version del framework</p>

			</div>

			<div class="description detailed hidden">
				
<p>Version del framework</p>


			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		nort API documentation generated by <a href="http://apigen.org">ApiGen 2.7.0</a>
	</div>
</div>
</div>
</body>
</html>
